#pragma once
#include <vector>
#include <iostream>
#include "Observer.h"
using namespace std;

class Subject
{
public:
	 vector<Observer*> Observers;
	 void Attach(Observer * o) { Observers.push_back(o);}

	 void NotifyAll();
};
